//
//  Configure.m
//  DuBai
//
//  Created by darktm on 14-2-23.
//  Copyright (c) 2014年 darktm. All rights reserved.
//

#import "Configure.h"

#define INTERFACE_BASE_URL  @"http://115.29.161.76/dubai/index.php"


@implementation Configure

+(NSString *)getHomeAd{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/home/getHomeAd"];
}

+(NSString *)getHomeInfo{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/home/getHomeInfo"];
}

+(NSString *)getUpdateData{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/version/getUpdateData"];
}

+(NSString *)getGoodsDetail{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getGoodsDetail"];
}

+(NSString *)getGoodsTechnology{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getGoodsTechnology"];
}

+(NSString *)getSales{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getSales"];
}

+(NSString *)prise{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/prise"];
}

+(NSString *)favourite{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/favorites"];
}

+(NSString *)share{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/share"];
}

+(NSString *)getGoodsComments{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getGoodsComments"];
}

+(NSString *)addGoodsComments{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/addGoodsComment"];
}

+(NSString *)getOrderDetail{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getPreOrder"];
}

+(NSString *)commitOrder{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/paidorder"];
}

+(NSString *)getAddressList{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/getAddressList"];
}

+(NSString *)addAddress{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/addAddress"];
}

+(NSString *)delAddress{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/delAddress"];
}

+(NSString *)updateAddress{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/updateAddress"];
}

+(NSString *)setDefaultAddress{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/setDefaultAddress"];
}

+(NSString *)getOrders{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/order/getOrders"];
}

+(NSString *)getGradeLog{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/getGradeLog"];
}

+(NSString *)userLogin{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/login"];
}

+(NSString *)userBaseInfo{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/getUserBaseInfo"];
}

+(NSString *)updateNickname{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/updateNickname"];
}

+(NSString *)userRegister{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/register"];
}

+(NSString *)setDefaultLocal{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/setDefaultLocal"];
}

+(NSString *)getGoodsByNew{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getGoodsByNew"];
}


+(NSString *)updateIcon{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/updateIcon"];
}

+(NSString *)findGoodsByKey{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/findGoodsByKey"];
}

+(NSString *)getGoodsByHot{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/getGoodsByHot"];
}


+(NSString *)findGoodsByCategory{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/goods/findGoodsByCategory"];
}

+(NSString *)homeSearch{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/home/search"];
}


+(NSString *)addCowry{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/addCowry"];
}

+(NSString *)getCowrys{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/getCowrys"];
}

+(NSString *)addComment{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/addComment"];
}

+(NSString *)geCrowyCommons{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/getCrowyCommons"];
}

+(NSString *)logout{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/logout"];
}

+(NSString *)updatePassword{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/updatePassword"];
}

+(NSString *)getAttentions{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/getAttentions"];
}

+(NSString *)cancelAttentions{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/personalCenter/cancelAttentions"];
}

+(NSString *)forgetPwd{
    return [INTERFACE_BASE_URL stringByAppendingString:@"/user/forgetPassword"];
}
@end
